package com.geekhalo.lego.command;

import com.geekhalo.lego.core.command.CommandService;
import com.geekhalo.lego.core.command.CommandServiceDefinition;


/**
 * Created by taoli on 2022/10/2.
 * gitee : https://gitee.com/litao851025/lego
 * 编程就像玩 Lego
 */
@CommandServiceDefinition(domainClass = Order.class, repositoryClass = OrderRepository.class)
public interface CreateOrderCommandService
    extends CommandService<CreateOrderCommand, Order> {

    @Override
    Order execute(CreateOrderCommand cmd);
}
